home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96b.txt / 000013_icon-group-sender _Mon Oct 7 14:00:48 1996.msg < prev    next >
Internet Message Format  |  1997-01-02  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Mon, 7 Oct 1996 10:16:32 MST
  2. To: icon-group@cs.arizona.edu
  3. Date: Mon, 7 Oct 1996 14:00:48 GMT
  4. From: bezeau@jupiter.sun.csd.unb.ca (Larry Bezeau)
  5. Message-Id: <bezeau.62.844696848@jupiter.csd.unb.ca>
  6. Organization: New Brunswick Centre for Educational Administration
  7. Sender: icon-group-request@cs.arizona.edu
  8. Subject: Re: Parsing the Icon command line
  9. Errors-To: icon-group-errors@cs.arizona.edu
  10.  
  11.     Below are the results of the simple program CMDLINE.ICN with
  12. the DOS (not 4DOS) command processor.  They are exactly the same as
  13. for 4DOS.  The same reduction of the three embedded spaces in the
  14. CD string to one occurred as can be seen below.  Here again, there
  15. seems to be no command line argument that will output the string:
  16.                 *cd \
  17.  
  18. h:\>type v:\cmdline.icn
  19. procedure main(C)
  20.   every write(&output,C[1 to *C])
  21. end
  22.  
  23. h:\>c:\dos\command.com /c v:\cmdline.exe "A   B"  \"C   D\"
  24. A
  25. B
  26. C D
  27.  
  28.                                    Larry Bezeau@UNB.Ca
  29.